package Com.HupochuanAdmin.Uil.Do;

import java.util.List;

import Com.Hupochuan.Uil.Servlet.DoRunServlet;
import Com.Hupochuan.Vo.Director;
import Com.HupochuanAdmin.Dal.Tab.DirectorTab;
import Com.Tester.Tester;

@SuppressWarnings("serial")
public class DirectorListDo extends DoRunServlet{
	public void doRun(){
		
		//打印测试
		Tester.print("打印测试 - DirectorListDo");
		
		//获得数据
		List<Director> directorList = DirectorTab.getObject().findDirectorList();
		
		//设置数据
		this.getDoTool().setAttr("directorList", directorList);
		
		//转发jsp页面
		this.getDoTool().forward("/jsp/admin/directorList.jsp");
	}
}
